package com.k8s.base.repository;

import com.k8s.base.domain.Setting;
import org.springframework.data.jpa.repository.*;

/**
 * Spring Data JPA repository for the Setting entity.
 */
@SuppressWarnings("unused")
public interface SettingRepository extends JpaRepository<Setting,Long>, JpaSpecificationExecutor<Setting> {

    Setting findOneByName(String name);

    @Modifying
    void deleteByName(String name);
}
